#ifndef EXCEPTIONDIALOG_H
#define EXCEPTIONDIALOG_H

#include <QDialog>
#include "exceptions.h"

namespace Ui {
    class ExceptionDialog;
}

class ExceptionDialog : public QDialog {
    Q_OBJECT
public:
    ExceptionDialog(QWidget *parent = 0);
    ExceptionDialog(const QString& title, GenericException exp, QWidget *parent = 0);
    ~ExceptionDialog();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::ExceptionDialog *ui;
};

#endif // EXCEPTIONDIALOG_H
